package com.zzl.springboot_mybatis_demo.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * description: 自定义的业务配置参数
 * @author 朱正磊
 * @date 2019-12-11 11:16:31
 */
@Data
@Component
public class MyOwnerBean {

    @Value("${myowner.username}")
    private String username;

    @Value("${myowner.password}")
    private String password;

    @Value("${myowner.age}")
    private Integer age;

}
